import web

urls = ('/async/(.*)', 'xlist', '/(.*)', 'notfound')
app = web.application(urls, globals())

class xlist:
    def GET(self, name):
        if not name:
            name = 'any'
        return name
        
        
class notfound:
    def GET(self, name):
        return 'Welcome, Mr. Not Found :-)'
        

if __name__ == "__main__":
    app.run()
